#include <stdio.h>
#include "queue.h"

int main()
{
	queue_t m_queue;
	init_queue(&m_queue,sizeof(int));
	int i = 0;
	for(i= 0;i< QUEUE_MAX_COUNT;i++)
	{
		push_queue(&m_queue,(void *)&i);
	}
	int temp;
	for(i= 0;i< QUEUE_MAX_COUNT;i++)
	{
		pop_queue(&m_queue,(void *)&temp);
		printf("%d ",temp);
	}
	free_queue(&m_queue);
	return 0;
}
